#include <iostream>
#include "my_quadratic.hpp"
using namespace std;

int main(int argc, char **argv){
    // 主程序区
    double x,y,z;
    double dis = 2;
        x = atof(argv[1]);
        y = atof(argv[2]);
        z = atof(argv[3]);
    cout << "a: " << x << " b: " << y << " c: " << z <<endl;  
    my_quadratic F;
    F = my_quadratic(x,y,z);
    struct solvers ans;
    ans = F.solve();
    cout <<  ans.x <<' '<< ans.y <<endl;

}